package top.wettis.chat.pojo.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 任务表
 * </p>
 *
 * @author wettis
 * @since 2023-04-13
 */
@Getter
@Setter
@TableName("task")
public class Task implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "task_id", type = IdType.AUTO)
    private Integer taskId;

    @TableField("type")
    private Integer type;

    @TableField("detil")
    private String detil;

    @TableField("is_del")
    @TableLogic
    private Integer isDel;

    @TableField("user_id")
    private Integer userId;

    @TableField("specific_time")
    private LocalTime specificTime;

    @TableField("totall")
    private Integer totall;

    @TableField("cur")
    private Integer cur;
}
